-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rofi-games: init at 1.10.2 #301397
rofi-games: init at 1.10.2 #301397
Conversation
5f50317
to
9212b98
Compare
Result of 1 package built:
|
Can we use 'just' to install ? there are some '/usr' path need patch |
Nixpkgs has a custom way of installing rofi plugins: if you don't have environment.systemPackages = [
...
pkgs.rofi
]; to environment.systemPackages = [
(pkgs.rofi.override { plugins = [ pkgs.rofi-games ]; })
]; It's a bit easier if you have programs.rofi = {
enable = true;
plugins = [ pkgs.rofi-games ];
}; You will also need to select the theme when calling rofi Obviously plugins = [ (pkgs.callPackage ./rofi-games.nix {}) ]; I haven't tested what I've written here, but should be correct. |
I don't quite understand how it remains binary compatible with rofi. For example, rofi and rofi-wayland are currently incompatible, so all libraries written in C need to be built again with rofi-wayland instead of rofi as a dependency. But this package does not introduce any additional dependencies. The rofi-mode it relies on also doesn't seem to have anything to do with a build of rofi. |
Apparently this line was supposed to do the version detection of rofi, conditionally setting the Should I just introduce a |
Got a solution. |
# Get rofi version from justfile to ensure abi compatibility
preBuild = ''
export RUSTFLAGS+=" $(${lib.getExe just} --evaluate RUSTFLAGS)"
'';
nativeBuildInputs = [
pkg-config
rofi
]; Isn't pretty, though... You can also use just to control the build process. |
Thanks, I'll push a commit shortly which just uses |
|
The build phase only calls
However, |
Hey, not sure if anything needs to be done on this end, but just wanted to give a heads up that I have since pushed some changes to |
Thanks for the heads up! |
94007eb
to
0507464
Compare
0507464
to
f90f48f
Compare
f90f48f
to
a8edfd4
Compare
Description of changes
Closes: #301374
Related: Rolv-Apneseth/rofi-games#19
This PR adds 1 package:
rofi-games
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.